package com.ruicar.afs.cloud.afscase.loandealerfirstmortgage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruicar.afs.cloud.afscase.loandealerfirstmortgage.condition.LoanDealerFirstMortgageCondition;
import com.ruicar.afs.cloud.afscase.loandealerfirstmortgage.entity.LoanDealerFirstMortgage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LoanDealerFirstMortgageMapper extends BaseMapper<LoanDealerFirstMortgage> {

    IPage<LoanDealerFirstMortgage> getDealerFirstMortgageList(@Param("page") Page page, @Param("condition") LoanDealerFirstMortgageCondition condition);

    Integer modifyIsFirstMortgage(@Param("idList") List idList, @Param("status") String status);

    Integer modifyIsFirstMortgageList(@Param("channelCodeList") List channelCodeList, @Param("status") String status);
}
